﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;

namespace VCommons
{
    /// <summary>
    /// Mail客户端发送状态类
    /// </summary>
    public class MailClientState
    {
        public SmtpClient SmtpClient { get; set; }
        public MailMessage MailMessage { get; set; }
        /// <summary>
        /// 用户信息
        /// </summary>
        public UserInfo UserInfo { get; set; }
        /// <summary>
        /// 尝试次数
        /// </summary>
        public int TryCount { get; set; }
    }
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserInfo
    {
        public string Name { get; set; }
        public string Password { get; set; }
    }
}
